.el-overlay {
  overflow: hidden;

  .el-overlay-dialog {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;

    .el-dialog {
      margin: 0 auto !important;
      padding: 0px !important;
      .el-dialog__header {
        padding: 0px 20px 0px !important;
        height: 48px !important;
        border-radius: 6px 6px 0px 0px;
        background: #FAFAFA;
        border-bottom: 1px solid #D8D8D8;
        line-height: 48px !important;
        .el-dialog__title {
          font-size: 16px;
        }
        .el-dialog__headerbtn {
          font-size: 25px;
          font-weight: 400;
        }
      }

      .el-dialog__body {
        padding: 20px !important;
      }
      &.common-dialog {
        .el-dialog__body {
          padding-top: 0 !important;
          padding-bottom: 0 !important;
        }
      }
      .el-dialog__footer {
        padding: 0 20px 16px !important;
      }
    }
  }
}